package com.example.entity.retail;


import java.util.Set;

//种农圈商品类
public class PostRetail {
    private String retailUid;//种农圈商品uid
    private String retailTitle; //种农圈商品标题
    private String retailContent; //种农圈商品内容
    private String retailImage; //种农圈商品图片
    private String uid; //种农圈商品发布者
    private String retailTime; //种农圈商品发布时间
    private String retailCategory; //种农圈商品类型
    private Set<CommentRetail> retailComments; //种农圈商品所有评论
    private Set<LikeRetail> retailLikes; //种农圈商品所有点赞

    @Override
    public String toString() {
        return "PostRetail{" +
                "retailUid='" + retailUid + '\'' +
                ", retailTitle='" + retailTitle + '\'' +
                ", retailContent='" + retailContent + '\'' +
                ", retailImage='" + retailImage + '\'' +
                ", uid='" + uid + '\'' +
                ", retailTime='" + retailTime + '\'' +
                ", retailCategory='" + retailCategory + '\'' +
                ", retailComments=" + retailComments +
                ", retailLikes=" + retailLikes +
                '}';
    }

    public String getRetailUid() {
        return retailUid;
    }

    public void setRetailUid(String retailUid) {
        this.retailUid = retailUid;
    }

    public String getRetailTitle() {
        return retailTitle;
    }

    public void setRetailTitle(String retailTitle) {
        this.retailTitle = retailTitle;
    }

    public String getRetailContent() {
        return retailContent;
    }

    public void setRetailContent(String retailContent) {
        this.retailContent = retailContent;
    }

    public String getRetailImage() {
        return retailImage;
    }

    public void setRetailImage(String retailImage) {
        this.retailImage = retailImage;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getRetailTime() {
        return retailTime;
    }

    public void setRetailTime(String retailTime) {
        this.retailTime = retailTime;
    }

    public String getRetailCategory() {
        return retailCategory;
    }

    public void setRetailCategory(String retailCategory) {
        this.retailCategory = retailCategory;
    }

    public Set<CommentRetail> getRetailComments() {
        return retailComments;
    }

    public void setRetailComments(Set<CommentRetail> retailComments) {
        this.retailComments = retailComments;
    }

    public Set<LikeRetail> getRetailLikes() {
        return retailLikes;
    }

    public void setRetailLikes(Set<LikeRetail> retailLikes) {
        this.retailLikes = retailLikes;
    }
}
